#include<iostream>
#include<iomanip>

using namespace std;

double do_task(int* arr, int N, int L, int K)
{
    double summ1 = 0, summ2 = 0;
    for (int i = 0; i < N; i++)
        if(i >= K && i <= L) summ1 += arr[i];
        else summ2 += arr[i];


}

int main()
{
    int N;
    cout<<"Enter 'N'(N=>0) : "; cin>>N;

    int L;
    cout<<"Enter 'L'(L<=N-1) : "; cin>>L;

    int K;
    cout<<"Enter 'K'(0<=K<=L) : "; cin>>K;

    int* data_arr = new int[N];

    for (int i = 0; i < N; i++)
    {
    cout<<"Enter "<<i<<" item"; cin>>data_arr[i];
    }
}
